﻿{%extends "base.html"%}

{%block menu%}
		    <li><a href="/" class="navbut3"><span>Home</span></a></li>
		    <li><a href="/publicadas" class="navbut3"><span>Top Actions</span></a></li>
		    <li><a href="/novas" class="navbut3"><span>New Actions</span></a></li>
		    <li><a href="/enviar" class="navbut3"><span>Submit</span></a></li>
			{%if user%}
		    <li><a href="/perfil" class="navbut3"><span>Profile</span></a></li>
			{%else%}
			<li><a href="/register" class="navbut4"><span>Sign Up</span></a></li>
			{%endif%}
			<li><a href="/blogs" class="navbut3"><span>Blogs</span></a></li>			
		    <li><a href="/sobre" class="navbut3"><span>About</span></a></li>
{%endblock%}

{%block body%}


			<h1>{{titulo}}</h1>
			
			{%if status%}
			<h2>Step 2</h2>
				{%if user%}						
					<fieldset><legend>Editar</legend>
				{%else%}
					<fieldset><legend>Registar</legend>
				{%endif%}
					<form action="/register" method="get" name="thisform"  id="thisform" enctype="multipart/form-data">
					<label>Nome:</label><br/>
					<input type="text" id="nome" class="text" name="nome" value = "{{user.nome}}" value="" size="60" maxlength="120" />
					<input type="submit" value="Enviar" class="submit" />
			{%else%}	
			<h2>Step 1</h2>
				Sign in to your Google Account.
				<a href="{{ url }}">{{ url_linktext }}</a>
			{%endif%}
		<br /><br/>
	
	</form>
</fieldset>                                               

<br /><br />
	
{%endblock%}